function checkPathways(listOfPathways)

for i = 1:length(listOfPathways)
    a =regexp('C06306', cellstr(listOfPathways{i}));
    an = a(~cellfun('isempty',a));

    if ~isempty(an)
        a =regexp('C00024', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
         a =regexp('C00356', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
         a =regexp('C00332', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
          a =regexp('C00418', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
          a =regexp('C01107', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
        a =regexp('C01143', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
        a =regexp('C00129', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
       
             a =regexp('C00341', cellstr(listOfPathways{i}));
        an = a(~cellfun('isempty',a));
             if ~isempty(an)
       i
            
              end
              end
            
              end
            
              end
            
              end
            
              end
            
              end
            
              end
        
    end
%        if strcmp(path(j,:),'C06306')
%            if strcmp(path(j,:),'C00341')
%                if strcmp(path(j,:),'C00235')
%                    if strcmp(path(j,:),'C00129')
%                         if strcmp(path(j,:),'C01143')
%                             if strcmp(path(j,:),'C01107')
%                                 if strcmp(path(j,:),'C00418')
%                                     if strcmp(path(j,:),'C00356')
%                                         if strcmp(path(j,:),'C00332')
%                                             if strcmp(path(j,:),'C00024')
%                                                i
%                                             end  
%                                         end  
%                                     end  
%                                 end  
%                             end  
%                         end  
%                    end  
%                end  
%            end   
%        end    
   


end
